package com.gable.exhibition.dao;

import com.gable.exhibition.model.Comment;
import com.gable.exhibition.view.CommentView;

import java.util.List;

public interface CommentDao {
    int deleteByPrimaryKey(Long commentId);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Long commentId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);

    List<CommentView> queryComment(CommentView commentView);

    List<CommentView> queryReplyComment(CommentView commentView);
}